package com.von.springbootnetty.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xiaosai
 * @version 1.0
 * @date 2022/3/17 15:05:08
 * @describe
 * @className
 */
@Controller
@RequestMapping("/login")
public class Login {

    @GetMapping("/user")
    public String getLoginUser(){
        return "admin";
    }
}
